cody - HTMLify profile

cody
4270 Files
633459 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/117 - Palindrome Checker
function validatePalin() {
string = document.getElementById("text").value;
// to obtain total length of the word or sentence
const len = string.length;
// to remove spaces from the accepted string, if there is any
string = document.getElementById("text").value;
// to obtain total length of the word or sentence
const len = string.length;
// to remove spaces from the accepted string, if there is any
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Palindrome Checker</title>
<link rel="stylesheet" href="style.css">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Palindrome Checker</title>
<link rel="stylesheet" href="style.css">